package com.crpc.common.crpcEnum;

import lombok.Getter;

@Getter
public enum SerializerEnums {
    HESSIAN((byte) 1, "hessian"),
    JSON((byte) 2, "json"),
    JDK((byte) 3, "jdk"),
    PROTOBUF((byte) 4, "protobuf");

    private final byte code;
    private final String type;

    SerializerEnums(byte code, String type) {
        this.type = type;
        this.code = code;
    }
}
